﻿@model IEnumerable<BugTracker.Models.UserRole>

@{
    ViewBag.Title = "Users";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<fieldset>
<div>
@Html.Partial("_Logo")
</div>
<center><img src="../../Content/themes/base/images/UsersResized.png" /></img></center>
<br />

@using (Ajax.BeginForm("ViewUsers", "Admin", new AjaxOptions
{
    HttpMethod = "GET",
    InsertionMode = InsertionMode.Replace,
    UpdateTargetId = "webgrid"
}))
{

}
<center>
<div id="webgrid">


@Html.Partial("_ViewUsers")
</div>

<a href="CreateUser">
<input type = "submit" value = "Add User" /></a>
<a href="DeleteUser">
<input type = "submit" value = "Delete,Edit and Details of User" /></a>
@*@Html.ActionLink("Add User","CreateUser")
<br />
@Html.ActionLink("Delete/Edit/Details User","DeleteUser")*@
</fieldset>
</center>
